#include "mainwindow.h"

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
{
    this->setGeometry(0, 0, 800, 480);

    mRadioButton[0] = new QRadioButton(this);
    mRadioButton[1] = new QRadioButton(this);
    mRadioButton[0]->setGeometry(300, 200, 100, 50);
    mRadioButton[1]->setGeometry(400, 200, 100, 50);
    mRadioButton[0]->setText("开关一");
    mRadioButton[1]->setText("开关二");
    mRadioButton[0]->setChecked(false);
    mRadioButton[1]->setChecked(true);
}

MainWindow::~MainWindow()
{

}
